<template>
	<view class="about">
		<view class="about-list">
			<rich-text :nodes="nodes"></rich-text>
		</view>
		
	
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				nodes:"",
				list:[
					{
						type_text:"隐私协议",
						id:"5",
					}
				]
			};
		},
		onLoad() {
			// this.getProtocolList()
			this.getAbout();
		},
		methods:{
			//获取协议列表
			getAbout(){
				let that = this;
				this.$api.getAbout().then(res=>{
					// console.log(res);
					that.nodes = res.content;
				})
			},
			//跳转
			goUrls(_num){
					uni.navigateTo({
						url:`/pages/user/agreement?type=${_num}`
					})
			}
		}
	}
	
</script>

<style lang="scss">
	.about{
		padding: 30rpx;
		&-list{
			padding: 30rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			background: #FFFFFF;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			font-size: 26rpx;
			margin-bottom: 20rpx;
			image{
				width: 14rpx;
				height: 24rpx;
			}
		}
	}
</style>
